package service;

import entity.User;
import exception.UserExistException;

import java.util.List;

/**
 * @author 石小俊
 */
public interface UserService {

    /**
     * 用户注册
     * @param username
     * @param password
     * @param phone
     * @param address
     */
    void register(String username,String password,String phone,String address) throws UserExistException;

    List<User> findAll();
}
